package entity;

/**
 * Sort entity. @author MyEclipse Persistence Tools
 */

public class Sort implements java.io.Serializable {

	// Fields

	private SortId id;
	private Type type;
	private Contest contest;

	// Constructors

	/** default constructor */
	public Sort() {
	}

	/** minimal constructor */
	public Sort(SortId id) {
		this.id = id;
	}

	/** full constructor */
	public Sort(SortId id, Type type, Contest contest) {
		this.id = id;
		this.type = type;
		this.contest = contest;
	}

	// Property accessors

	public SortId getId() {
		return this.id;
	}

	public void setId(SortId id) {
		this.id = id;
	}

	public Type getType() {
		return this.type;
	}

	public void setType(Type type) {
		this.type = type;
	}

	public Contest getContest() {
		return this.contest;
	}

	public void setContest(Contest contest) {
		this.contest = contest;
	}

}